package com.zenika.zentracker.hibernate;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.hibernate.EmptyInterceptor;

import com.zenika.zentracker.jmx.JMXSessionStats;

/**
 * An interceptor that does nothing. May be used as a base class for application-defined custom ZenTrackerInterceptors.
 * 
 * @author Zenika
 */
public class ZenTrackerEmptyInterceptor extends EmptyInterceptor implements ZenTrackerInterceptor {

    private static final long serialVersionUID = -4014488820568931174L;

    private static final Log log = LogFactory.getLog("com.zenika.ZenTracker");

    public static Log getLog() {
        return log;
    }

    public JMXSessionStats buildJMXStats() {
        // TODO Auto-generated method stub
        return null;
    }

    public void logSummary() {
        // TODO Auto-generated method stub
        
    }

}
